#include <stdio.h>
#include "linenoise.h"
#include <stdlib.h>
int main(int argc, char *argv[]) {
  char *line;
  //   linenoiseHistoryLoad("history.txt");
  while (1) {
    line = linenoise("hello> ");
    
    if (line == NULL) break;
    linenoiseHistoryAdd(line);
    // linenoiseHistorySave("history.txt");
    linenoiseFree(line);
    // linenoiseClearScreen();
  }
  
}